home *** CD-ROM | disk | FTP | other *** search
/ Info-Mac 4 / Info_Mac IV CD-ROM (Pacific HiTech Inc.)(August 1994).iso / Information / Hardware / Mac Memory Guide / Mac Memory Guide.rsrc / TEXT_128.txt < prev    next >
Text File  |  1993-09-07  |  11KB  |  84 lines

  1.  
  2. The Macintosh Memory Guide
  3. A simple explanation of memory and how to get the most from your Macintosh
  4.  
  5.  
  6. Connectix Corporation 
  7. 2655 Campus Drive ‚Ä¢ San Mateo, CA ‚Ä¢ 94403 
  8. (800) 950-5880 ‚Ä¢ (415) 571-5100 ‚Ä¢ (415) 571-5195 fax
  9. Applelink: Connectix ‚Ä¢ CompuServe: MACAVEN ‚Ä¢ America OnLine: Connectix
  10.  
  11.  
  12. THE BASICS
  13.  
  14. All your files normally reside on a ‚Äúmass storage device,‚Äù typically a hard drive. Such devices hold tens, hundreds, or even thousands of megabytes of information. Moreover, they are non‚Äìvolatile, that is, they retain this information even when power is turned off. But the Central Processor Unit (CPU) works much faster than the hard drive can supply information, so your Mac also has some fast, volatile memory made out of semiconductors. This is your RAM, Random Access Memory.
  15.  
  16. When you launch a program from your hard disk, some or all of the application software is copied from the hard drive into the RAM, where the CPU can access it at high speed. When you open a document, the same thing happens. When you try to shut down your computer with documents open, the Mac will ask you if you want to save them. If you say yes, it copies the information in RAM back to the hard drive, where the Mac can ‚Äúremember‚Äù it even after power is turned off.
  17.  
  18. RAM can usually access a specific piece of data about 1000 times faster than a hard drive can but it does cost roughly 10 times as much per megabyte (MB). Consequently, a lot of effort goes into using RAM as sparingly as possible. Many Mac applications are ‚Äúsegmented‚Äù so that only part of the software is loaded into RAM when the application is launched. The rest is brought in when needed. For example, most word processors will only load the spell check routines and the dictionary when you request a spell check. Some applications can also work with documents which are ‚Äúpartitioned‚Äù, so that part of the document is in RAM and part stays on the hard drive.
  19.  
  20. All of this is done so that you can maximize the amount of work that can be accomplished within a given amount of ‚Äúapplication memory,‚Äù which is usually equal to the amount of RAM installed in your Mac. Application memory is the space your computer uses to hold your System and applications when they are running. You can see this by switching into Finder, pulling down the Apple menu, and looking at ‚ÄúAbout This Macintosh...‚Äù (or ‚ÄúAbout the Finder‚Äù in System 6). See graphic on following page.
  21.  
  22. The size of the application memory space limits the combined size of the System and all the applications you can have open at the same time. You can adjust the size allocated to your applications (See ‚ÄúBenefits of Adding Memory‚Äù), but if you make them too small you may not be able to use large documents.
  23.  
  24. A technique called virtual memory (See ‚ÄúVirtual Memory‚Äù) can extend application memory by swapping information between the hard drive and RAM in the background, making your Mac work as if there is more RAM in the Mac than you have actually installed. Using virtual memory, you have more application memory than physical RAM.
  25.  
  26. About ROMs
  27.  
  28. ROMs (Read Only Memory) are chips built into the Mac which contain part of the operating system. Since they are Read Only, nothing more can be written on them, so they are not used as memory like the RAM and hard drive. ROM is non‚Äìvolatile and contains the information your Mac needs in order to remember how to read the rest of the operating system that is stored in the System Folder on your hard drive when you startup the computer. The computer learns a bit from the ROM, then more from the System Folder, and then a lot from the rest of the hard drive.
  29.  
  30. This reminded early (pre‚ÄìApple) programmers of the expression ‚Äúlifting yourself up by your own bootstraps.‚Äù That‚Äôs how the start‚Äìup process came to be known as ‚Äúbooting.‚Äù The original bootstrapping process involved flipping switches and then feeding in paper tape, but the idea was the same.
  31.  
  32. ROMs contain many important parts of the operating system beyond the information just needed to boot the computer. The importance of ROMs in the context of memory configurations is that this operating system software can limit the amount of RAM that can be used on some Macs.
  33.  
  34. As you browse the Reference Guide you may notice that certain classes of Macs have similar limitations, caused because they use the same ROMs. For example, the Mac II, IIx, IIcx, and SE/30 need the MODE32 software in order to use System 7‚Äôs 32‚Äìbit addressing. The LC, LC II, and Classic II ROMs limit these systems‚Äô total RAM addressing to a maximum of 10MB. (see ‚ÄúUsing Large Amounts of Memory‚Äù).
  35.  
  36. The ROMs in the Mac Plus, SE and Classic do not support 32‚Äìbit addressing at all. They are also not compatible with standard System 7 VM. They do work, however, with Connectix Virtual (see ‚ÄúReference Guide‚Äù) when an accelerator card is installed. The accelerator card is needed because the main processor (the CPU) can also limit the addressing capacity of the Mac (see ‚ÄúHistory of Macintosh Memory‚Äù).
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54. Estimating Memory Requirements
  55.  
  56. When you first start to use your Macintosh and whenever you change the way you use your system, you need to evaluate how much physical RAM to use. A simple Mac Plus running System 6 can sometimes make do with as little as one megabyte, while the 16 SIMM slots of the Quadra 900 can be loaded with as much as 256MB. So how do you decide?
  57.  
  58. Normal Memory Requirements
  59.  
  60. First of all, just to be able to start the computer you will always need at least 1MB under System 6 and at least 2MB under System 7. Practical limits, in fact, are twice that. It rarely pays to run System 6 with less than 2MB and almost all System 7 users will want to install at least 4MB.
  61.  
  62. Such a minimum configuration will probably suffice if you plan to work primarily with standard word processing, small spreadsheets (one printed page or so), and common communication or electronic mail applications. 
  63.  
  64. If you want to do more than that, the amount of RAM you need depends on whether or not you can use virtual memory (see ‚ÄúVirtual Memory‚Äù). If you cannot use virtual memory, you will need enough physical RAM to hold the System plus all of the applications you want to have open at the same time. System 6 takes up about 500 kilobytes (500K) minimum, and System 7 about 1.5MB, but both get bigger if you use a lot of different fonts (typically 10‚Äì40K per font) or extensions (from 20‚Äì500K each).
  65.  
  66. The amount of space taken by each application can usually be adjusted (see ‚ÄúBenefits of Adding Memory‚Äù), but you will need to allocate enough space to hold the application software as well as the documents you plan to use. Applications typically take from 500K to 2MB each, though they often vary more than that. So, for example, a 4MB Macintosh using up 1.5‚Äì2MB for System 7 could probably open 2‚Äì3 typical applications. But if it only had 2MB it might not be able to open even one application, depending on the size of the application and the number of fonts and extensions installed.
  67.  
  68. Effects of Virtual Memory on Memory Needs
  69.  
  70. If you can use virtual memory, the situation changes. You will be able to open up a large number of applications at the same time, probably as many as you would like. But whenever you use one that is larger than the amount of RAM not already tied up by your System, you may notice a substantial speed loss. This is because virtual memory tries to put as much of the foreground application (the one you are currently using) into RAM as it can. It keeps whatever won‚Äôt fit into RAM on the hard drive. If there isn‚Äôt enough space in RAM to hold the System and the entire foreground application, including any documents you are using, then the memory manager may have to do a lot of swapping of information between the hard drive and RAM. We say ‚Äúmay,‚Äù because in some circumstances the memory manager can just park a part of the application that isn‚Äôt being used often (for example, a spell checker in a word processor) on the hard drive and the part you are using a lot will stay in RAM.
  71.  
  72. The rule of thumb with virtual memory is to try to have at least enough RAM to hold your largest commonly used application and the System at one time. If you try to use a large application with too little real RAM, you can easily slow your Macintosh‚Äôs performance 50% or more. But if you adhere to this rule, the only time that virtual memory should be noticeable is when you switch between applications. Then, the memory manager has to get a lot of information from the hard drive and copy it up to RAM while the new foreground application is ‚Äúswapped in.‚Äù You may notice a few tenths of a second pause while this happens. With lots of RAM, several entire applications can stay in RAM at the same time and switching between them will occur at RAM speed.
  73.  
  74. When to Use Large SIMMs
  75.  
  76. Recently 4MB and 16MB SIMMs have become popular for particularly memory‚Äìintensive applications. Common applications that may require large amounts of physical RAM are image processing, scanning, sound editing, mixing and manipulation, CAD, multimedia (especially uncompressed video), complex mathematical modeling, and use of large data servers for data bases. If you are planning to use a Macintosh primarily for one of these applications, you may want to consult the application vendor or reseller about memory requirements.
  77.  
  78. The most common use of high‚Äìdensity RAM is image processing. A single 8 1/2" x 11" 8‚Äìbit color document takes up almost 8MB of memory. In 24‚Äìbit color this amount triples to 23MB. In many applications twice that amount is needed in order to hold the document and an Undo buffer (a copy of the document before recent changes were made‚Äìso you can Undo). If the image and Undo buffer can all be held in RAM, processes (like color separating and rendering) can happen hundreds of times faster than if information needs to be swapped in and out of the hard drive. This is true whether the swapping occurs because of a general virtual memory manager, (System 7 VM or Connectix Virtual), or because the application has its own application‚Äìspecific virtual memory, like Adobe Photoshop. 
  79.  
  80. Scanning and/or desktop publishing projects can often be accomplished in 4‚Äì8MB of memory, but not always. Scanning memory requirements vary according to the resolution of the scanner (memory needs increase as the square of the resolution), and the area to be scanned (linear increase with area). A black and white scan of an 8 1/2" x 11" document at 300 dots per inch (dpi)resolution only takes up about 1MB, plus, usually, another 1MB for the Undo buffer. On the other hand, a 1200 dpi scan (for film output) of an 11" x 17" format would take up 32 times as much memory, or just over including an Undo buffer.
  81.  
  82. Desktop publishing projects need lots of memory if a large number of complex graphic images are being used. Images stored as PICTs are smaller than images stored in TIFF format. A small piece of clip art stored as a PICT might take up 20‚Äì120K, while a full color TIFF format of the same image might be 500K to 3MB. The advantage of TIFFs is that they are more easily transported from one type of computer to another. 
  83.  
  84. Common high memory configurations today are 20MB (4x4MB SIMMs and 4x1MB), 32MB (8x4MB), 70MB (4x16MB and 4x4MB), and 128MB (8x16MB). The Quadra 900 sets a new top end of 256MB (16x16MB).